<?PHP
#
#   FILE:  DisplayError.php
#
#   Part of the Metavus digital collections platform
#   Copyright 2001-2020 Edward Almasy and Internet Scout Research Group
#   http://metavus.net
#

# ----- MAIN -----------------------------------------------------------------

# prepare error message for print
if (isset($_SESSION["ErrorMessage"])) {
    $H_ErrorMessage = $_SESSION["ErrorMessage"];
    unset($_SESSION["ErrorMessage"]);
} else {
    $H_ErrorMessage = "(No error message available)";
}

PageTitle("Error");
